/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout/index.vue'

const financeRouter = [
    {
        path: '/finance',
        component: Layout,
        name: 'finance',
        meta: { title: '财务中心', icon: 'Collection', keepAlive: true },
        children: [
            {
                path: 'detailfinance',
                component: () => import('@/views/finance/index.vue'),
                name: 'detailfinance',
                meta: { title: '资金概览', icon: 'Collection', keepAlive: true },
            },
            {
                path: 'freezing',
                component: () => import('@/views/finance/freezing/index.vue'),
                name: 'freezing',
                meta: { title: '账单明细', icon: 'Collection', keepAlive: true },
            },
            {
                path: 'settlement',
                component: () => import('@/views/finance/settlement/index.vue'),
                name: 'settlement',
                meta: { title: '占用记录', icon: 'Collection', keepAlive: true },
            },
        ],
    },
]

export default financeRouter
